using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ByHand.Model;
using ByHand.Data.Interfaces;

namespace ByHand.Services.Interfaces
{
    public interface IProviderService : IRepository<Provider>
    {

        List<Provider> GetByPage(int page, int pagesize, out int total);

        List<Provider> GetByPageFilter(int page, int pagesize, out int total, string filter);

        bool CheckCodeExist(string code);

        List<Provider> GetAllAvaiable();

        Provider GetByMerchant(int merchanID);
    }
}
